package com.qf.student.service;

import com.qf.student.entity.Emp;
import com.qf.student.entity.Page;

import java.util.List;

public interface IEmpService {

    public boolean save(Emp dept);

    public boolean update(Emp dept);

    public boolean remove(Integer id);

    public Emp getById(Integer id);

    public List<Emp> list();

    Emp getByName(String name);

    void batchDel(List<Integer> empnoList);

    public void page(Page page);
}
